GBML manual / Constants

ALIGN_LEFT

Aligns draw_text’s (x, y) to the left of the text, for text_align.

Syntax

ALIGN_LEFT: constant

Description

Names left alignment, for text_align - (x, y) marks the left edge of the text that follows. This is the default alignment before text_align is ever called.

Example

text_align(ALIGN_LEFT);

Left-aligns every following draw_text call - the usual choice for a HUD line fixed to the screen's left edge.

See also: text_align